package com.cpa.admin.model;

import com.cpa.admin.utils.UUIdGenId;
import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
* Created by Mybatis Generator 2018/11/04
*/
@Data
@Table(name = "promotion_detail")
public class PromotionDetailDo implements Serializable {
    @Id
    @KeySql(genId = UUIdGenId.class)
    private String id;

    /* 用户ID*/
    private String userId;

    /* 产品Id*/
    private String productId;

    private Date createTime;

    private static final long serialVersionUID = 1L;
}